/**
 * 
 */
package org.ejc.session;

import java.io.Serializable;

import org.ejc.datatype.executive.ISearchCriteria;
import org.ejc.persist.model.Convention;
import org.ejc.persist.model.ConventionExecutive;
import org.ejc.persist.model.ConventionRegistrant;
import org.ejc.persist.model.Price;
import org.ejc.persist.model.Transaction;

/**
 * @author Brian Boyle
 *
 */
public class EJCSession implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private ConventionExecutive executive;
	private ConventionExecutive selectedExecutive;
	private String currentAction;
	private Convention convention;
	private ConventionRegistrant conventionRegistrant;
	private Price currentPrice;
	private Transaction transaction;
	private int resultIndex;
	private int resultSize;
	private ISearchCriteria criteria;
	private Integer trxHistoryId;
	
	/**
	 * @return Returns the trxHistoryId.
	 */
	public Integer getTrxHistoryId() {
		return trxHistoryId;
	}

	/**
	 * @param trxHistoryId The trxHistoryId to set.
	 */
	public void setTrxHistoryId(Integer trxHistoryId) {
		this.trxHistoryId = trxHistoryId;
	}

	/**
	 * @return Returns the criteria.
	 */
	public ISearchCriteria getCriteria() {
		return criteria;
	}

	/**
	 * @param criteria The criteria to set.
	 */
	public void setCriteria(ISearchCriteria criteria) {
		this.criteria = criteria;
	}

	/**
	 * @return Returns the maxResult.
	 */
	public int getResultSize() {
		return resultSize;
	}

	/**
	 * @param maxResult The maxResult to set.
	 */
	public void setResultSize(int maxResult) {
		this.resultSize = maxResult;
	}

	/**
	 * @return Returns the minResult.
	 */
	public int getResultIndex() {
		return resultIndex;
	}

	/**
	 * @param resultIndex The minResult to set.
	 */
	public void setResultIndex(int resultIndex) {
		this.resultIndex = resultIndex;
	}

	/**
	 * @param executive
	 */
	public EJCSession(ConventionExecutive executive) {
		// TODO Auto-generated constructor stub
		this.executive = executive;
	}

	/**
	 * @return Returns the executive.
	 */
	public ConventionExecutive getExecutive() {
		return executive;
	}

	/**
	 * @param executive The executive to set.
	 */
	public void setExecutive(ConventionExecutive executive) {
		this.executive = executive;
	}

	/**
	 * @return Returns the currentAction.
	 */
	public String getCurrentAction() {
		return currentAction;
	}

	/**
	 * @param currentAction The currentAction to set.
	 */
	public void setCurrentAction(String currentAction) {
		this.currentAction = currentAction;
	}

	/**
	 * @return Returns the convention.
	 */
	public Convention getConvention() {
		return convention;
	}

	/**
	 * @param convention The convention to set.
	 */
	public void setConvention(Convention convention) {
		this.convention = convention;
	}

	/**
	 * @return Returns the conventionRegistrant.
	 */
	public ConventionRegistrant getConventionRegistrant() {
		return conventionRegistrant;
	}

	/**
	 * @param conventionRegistrant The conventionRegistrant to set.
	 */
	public void setConventionRegistrant(ConventionRegistrant conventionRegistrant) {
		this.conventionRegistrant = conventionRegistrant;
	}

	/**
	 * @return Returns the currentPrice.
	 */
	public Price getCurrentPrice() {
		return currentPrice;
	}

	/**
	 * @param currentPrice The currentPrice to set.
	 */
	public void setCurrentPrice(Price currentPrice) {
		this.currentPrice = currentPrice;
	}

	/**
	 * @return Returns the transaction.
	 */
	public Transaction getTransaction() {
		return transaction;
	}

	/**
	 * @param transaction The transaction to set.
	 */
	public void setTransaction(Transaction transaction) {
		this.transaction = transaction;
	}

	/**
	 * @return Returns the selectedExecutive.
	 */
	public ConventionExecutive getSelectedExecutive() {
		return selectedExecutive;
	}

	/**
	 * @param selectedExecutive The selectedExecutive to set.
	 */
	public void setSelectedExecutive(ConventionExecutive selectedExecutive) {
		this.selectedExecutive = selectedExecutive;
	}
	
	
	
}
